package com.ymall.service;

import com.ymall.common.ServerResponse;
import com.ymall.pojo.Category;

import java.util.List;

public interface ICategoryService {

    ServerResponse addCategory(String categoryName,int parentId);

    ServerResponse setCategoryName(int parentId,String categoryName);

    ServerResponse<List<Category>> getCategoryName(int parentId);

    ServerResponse<List<Integer>> getDeepCategoryName(int parentId);
}
